home *** CD-ROM | disk | FTP | other *** search
/ Aminet 44 / Aminet 44 (2001)(GTI - Schatztruhe)[!][Aug 2001].iso / Aminet / util / arc / unpacker.readme < prev    next >
Encoding:
Text File  |  2001-07-04  |  4.9 KB  |  153 lines

  1. Short:    GUI for CLI based unpackers (LHA...)
  2. Author:   koehlerthilo@gmx.de (Thilo Köhler)
  3. Uploader: koehlerthilo@gmx.de (Thilo Köhler)
  4. Type:     util/arc
  5.  
  6. Version: 1.1
  7.  
  8. Requirements:
  9. - Amiga OS 3.x (I use it with OS 3.5, but should work in 3.x)
  10. - some CLI based unpackers like LHA, LZX and UnZip
  11. - DefIcons44 (found in Aminet or OS3.9), if you want to use it with your deficons
  12.  
  13. Please email bug reports or suggestions to koehlerthilo@gmx.de.
  14.  
  15.  
  16. Introduction:
  17. ---------------------------------------------------------
  18. This is a little tool that makes it easy to use CLI based unpackers like LHA, LZX, 
  19. Unzip s.o.
  20. It is designed to put it into the default icons for the archives listed above. 
  21. If you do so, every time you doubleclick an archive you will be asked for
  22. the destination directory and it will be unpacked.
  23. You can also add this tool to your favorite programm launching utility 
  24. or use it as an CLI command.
  25.  
  26.  
  27.  
  28. The Archive contains the following files:
  29.  
  30. unpacker.readme        
  31. unpacker.readme.info 
  32. unpacker                 
  33. unpacker.info   
  34. ENV/unpacker.config
  35.  
  36.  
  37. Installation:
  38. ---------------------------------------------------------
  39. 1. move "unpacker.config" to ENVARC:
  40. 2. move "unpacker.config" to ENV: or reboot before using unpacker
  41. 3. move the executable "unpacker" wherever you want, e.g. C:
  42.  
  43. If you dont have LHA, LZX and UnZip in your C: directory you might want to
  44. edit the unpacker.config file. See "Configuration" for this.
  45. Edit your deficons in ENVARC:SYS/ for the archives. For this it is a good idea to install
  46. DefIcons44 (Aminet or OS3.9) and download some icons.
  47.  
  48. Unpacker can be started from CLI or WB.
  49. There are serveral posibilities to run it:
  50.  
  51. 1. Unpacker (no arguments)
  52. will ask you via ASL filerequester for the archive file and the destination directory
  53. and then it will unpack the archive file
  54.  
  55. 2. Unpacker <archivefile>
  56. will ask you via ASL filerequester only for the destination directory and then it will 
  57. unpack the archive file
  58.  
  59. 3. Unpacker <archivefile> <destination dir>
  60. will unpack quietly the archive file into the given destination directory
  61.  
  62.  
  63. Configuration:
  64. ---------------------------------------------------------
  65. The configfile is preconfigured for LHA, LZX and Unzip. If you want to add some
  66. more unpackers recognized by "unpacker" you can edit the unpacker.config file.
  67. The unpacker.config file is a plain textfile structured like this:
  68.  
  69. --------------------------- CUT HERE ---------------------
  70. UNPACKER="C:lha x %s %d"
  71. EXTENTION=".lha"
  72. HEAD="lha"
  73. <... put here some more packers>
  74. PATTERN=#?.(lha|lzx|zip)
  75. DESTDIR="Ram:"
  76. SOURCEDIR="SYS:"
  77. ASL_X=50
  78. ASL_Y=50
  79. ASL_xs=400
  80. ASL_ys=500
  81. --------------------------- CUT HERE ---------------------
  82.  
  83. Explanation:
  84. UNACKER="..."
  85.   define here your unpacker executable and the specific options it needs.
  86.   %s will be replaced with the sourcefile (the archive)
  87.   %d will be replaced with the destination directory
  88.  
  89. EXTENTION=".???"
  90.   define the extention to identify the archive type. ".lha" for lha files, ".zip" for zipfiles s.o.
  91.  
  92. HEAD="lha"
  93.   A bit more complicated. This are the first bytes of the Archive header. If you dont know
  94.   much about this, dont specify it, EXTENTION sould be enough. If you give the HEAD
  95.   definition, unpacker looks first for the header, if the Archive is still unrecognized
  96.   it looks at the extention.
  97.  
  98. PATTERN="#?..."
  99.   Put her the DOS pattern to have only the files you want in the ASL requester
  100.  
  101. DESTDIR="..."
  102.   Default destination path
  103.  
  104. SOURCEDIR="..."
  105.   Default source path
  106.  
  107. ASL_X=n
  108.   X position for the ASL filerequesters
  109.  
  110. ASL_Y=n
  111.   Y position for the ASL filerequesters
  112.  
  113. ASL_XS=n
  114.   Width of the ASL filerequesters
  115.  
  116. ASL_YS=n
  117.   Height of the ASL filerequesters
  118.  
  119. You can mix up the order of the entries, but EXTENTION and HEAD sould always follow UNPACKER.
  120.  
  121.  
  122. Problems:
  123. -----------------------------------------------------------
  124. I know some unpacker tools like this in Aminet that may
  125. use the same filename of the config file and the exe. The config filename is fix,
  126. so you can not have those programms installed at the same time.
  127. The executable can be renamed to what you like.
  128.  
  129.  
  130. Future: (I will do this only if someone wants this)
  131. -----------------------------------------------------------
  132. - identify archives by header
  133.  
  134. History:
  135. -----------------------------------------------------------
  136. V1.0 created.
  137.  
  138. V1.1 GlowIcon added.
  139.  
  140.  
  141. ============================= Archive contents =============================
  142.  
  143. Original  Packed Ratio    Date     Time    Name
  144. -------- ------- ----- --------- --------  -------------
  145.     3008    2277 24.3% 10-May-01 15:18:12  Unpacker.info
  146.      263     159 39.5% 10-May-01 15:13:00 +unpacker.config
  147.    35116   17735 49.4% 29-Jan-01 02:20:08 +unpacker
  148.     2925    2137 26.9% 10-May-01 15:18:12 +unpacker.info
  149.     4357    1720 60.5% 10-May-01 15:17:26 +unpacker.readme
  150.     2773    1838 33.7% 10-May-01 15:18:12 +unpacker.readme.info
  151. -------- ------- ----- --------- --------
  152.    48442   25866 46.6% 24-May-101 13:49:48   6 files
  153.